<script setup>
import Aside from '../components/Aside.vue';
import Header from '../components/Header.vue';


</script>

<template>
    <div class="common-layout">
      <el-container>
        <el-header><!-- 引入头部组件 -->
          <Header></Header>
        </el-header>
        <el-container>
          <el-aside width="200px"> 
            <Aside></Aside>
        </el-aside>
          <el-main>
            <!-- 主题区域组件：左边菜单，经过路由匹配组件 -->
             <RouterView></RouterView>
          </el-main>
        </el-container>
      </el-container>
    </div>
  </template>

<style scoped>

</style>
